home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Commodities / Angie / InstallAngie < prev    next >
AmigaDOS Script File  |  1996-09-26  |  5KB  |  143 lines

  1. .key ""
  2. .bra {
  3. .ket }
  4. failat 21
  5.  
  6. assign >NIL: remove IAT$process:
  7. assign >NIL: IAT$process: exists
  8. if not warn
  9.   echo "*nFatal: assign *"IAT$process*" exists!*n"
  10.   quit 20
  11. endif  
  12.  
  13. if not exists Angie
  14.   skip notfound
  15. endif
  16. if not exists Angie.info
  17.   skip notfound
  18. endif
  19. if not exists catalogs/deutsch/angie.catalog
  20.   skip notfound
  21. endif
  22. if not exists catalogs.info
  23.   skip notfound
  24. endif
  25. if not exists SetActiveWin
  26.   skip notfound
  27. endif
  28. if not exists MagicPubName
  29.   skip notfound
  30. endif
  31. if not exists RawInsert
  32.   skip notfound
  33. endif
  34.  
  35. skip found
  36.  
  37. lab notfound
  38.   echo "*nYou have to cd to this script's directory first!*n*nSie müssen zuerst das aktuelle Verzeichnis auf das Verzeichnis*nsetzen, in dem sich dieses Skript befindet!*n"
  39.   quit 20
  40.  
  41. lab found
  42.  
  43. assign IAT$process: ""
  44.  
  45. cd t:
  46.  
  47.  
  48. version >nil: SYS:WBStartup/Angie
  49. if not warn
  50.   echo "*nYou have installed the following version of Angie:*nSie haben folgende Version von Angie installiert:*n`version SYS:WBStartup/Angie full` "
  51. else
  52.   echo "*nYou haven't installed Angie yet.*nSie haben Angie bisher nicht installiert."
  53. endif
  54. ask "*nDo you want to install the following version of Angie:*nWollen Sie folgende Version von Angie installieren:*n`version IAT$process:Angie full`  (Y/N)?"
  55. if warn
  56.   if not exists SYS:WBStartup
  57.     makedir SYS:WBStartup
  58.     if not error
  59.       if not exists SYS:WBStartup.info
  60.         copy IAT$process:catalogs.info SYS:WBStartup.info
  61.       endif  
  62.     endif
  63.   endif  
  64.   if exists SYS:WBStartup
  65.     copy clone IAT$process:(Angie) SYS:WBStartup
  66.     if not exists SYS:WBStartup/Angie.info
  67.       copy clone IAT$process:(Angie.info) SYS:WBStartup
  68.     else  
  69.       ask "*nDo you want to replace your old Angie configuration by the supplied new one?*nWollen Sie Ihre alte Angie-Konfiguration durch die beigefügte neue ersetzen?*n(Y/N)?"
  70.       if warn
  71.         copy clone IAT$process:(Angie.info) SYS:WBStartup
  72.       endif  
  73.     endif
  74.   else  
  75.     echo "*nAngie couldn't be installed.*nAngie konnte nicht installiert werden."    
  76.   endif
  77. endif
  78.  
  79. assign >NIL: LOCALE: exists
  80. if not warn
  81.   version >nil: LOCALE:catalogs/deutsch/angie.catalog
  82.   if not warn
  83.     echo "*n*nYou have installed the following version of the German angie.catalog:*nSie haben folgende Version des deutschsprachigen angie.catalog installiert:*n`version LOCALE:catalogs/deutsch/angie.catalog full` "
  84.   else
  85.     echo "*n*nYou haven't installed any German angie.catalog yet.*nSie haben bisher keinen deutschsprachigen angie.catalog installiert."
  86.   endif
  87.   ask "*nDo you want to install the following version of the German angie.catalog:*nWollen Sie folgende Version des deutschsprachigen angie.catalog installieren:*n`version IAT$process:catalogs/deutsch/angie.catalog full`  (Y/N)?"
  88.   if warn
  89.     if not exists LOCALE:catalogs
  90.       makedir LOCALE:catalogs
  91.     endif  
  92.     if not exists LOCALE:catalogs/deutsch
  93.       makedir LOCALE:catalogs/deutsch
  94.     endif
  95.     if exists LOCALE:catalogs/deutsch
  96.       copy clone IAT$process:catalogs/deutsch/(angie.catalog) LOCALE:catalogs/deutsch
  97.     else  
  98.       echo "*nThe catalog couldn't be installed.*nDer Katalog konnte nicht installiert werden."
  99.     endif  
  100.   endif
  101. endif
  102.  
  103. version >nil: C:SetActiveWin
  104. if not warn
  105.   echo "*nYou have installed the following version of SetActiveWin:*nSie haben folgende Version von SetActiveWin installiert:*n`version C:SetActiveWin full` "
  106. else
  107.   echo "*nYou haven't installed SetActiveWin yet.*nSie haben SetActiveWin bisher nicht installiert."
  108. endif
  109. ask "*nDo you want to install the following version of SetActiveWin:*nWollen Sie folgende Version von SetActiveWin installieren:*n`version IAT$process:SetActiveWin full`  (Y/N)?"
  110. if warn
  111.   copy clone IAT$process:(SetActiveWin) C:
  112. endif
  113.  
  114. version >nil: C:MagicPubName
  115. if not warn
  116.   echo "*nYou have installed the following version of MagicPubName:*nSie haben folgende Version von MagicPubName installiert:*n`version C:MagicPubName full` "
  117. else
  118.   echo "*nYou haven't installed MagicPubName yet.*nSie haben MagicPubName bisher nicht installiert."
  119. endif
  120. ask "*nDo you want to install the following version of MagicPubName:*nWollen Sie folgende Version von MagicPubName installieren:*n`version IAT$process:MagicPubName full`  (Y/N)?"
  121. if warn
  122.   copy clone IAT$process:(MagicPubName) C:
  123. endif
  124.  
  125. version >nil: C:RawInsert
  126. if not warn
  127.   echo "*nYou have installed the following version of RawInsert:*nSie haben folgende Version von RawInsert installiert:*n`version C:RawInsert full` "
  128. else
  129.   echo "*nYou haven't installed RawInsert yet.*nSie haben RawInsert bisher nicht installiert."
  130. endif
  131. ask "*nDo you want to install the following version of RawInsert:*nWollen Sie folgende Version von RawInsert installieren:*n`version IAT$process:RawInsert full`  (Y/N)?"
  132. if warn
  133.   copy clone IAT$process:(RawInsert) C:
  134. endif
  135.  
  136. cd IAT$process:
  137.  
  138. assign remove IAT$process:
  139.  
  140. echo "*nFertig - Finished."
  141.  
  142.  
  143.